package com.example.demo.utils;




import java.util.List;

/**
 * Grid返回显示工具类
 */
public class DataGridResult<T> {

    private List<T> rows;
    private Long total;

    public DataGridResult(List<T> rows, Long total) {
        this.rows = rows;
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
